package com.yunfeisoft.business.service.impl;

import com.applet.base.BaseServiceImpl;
import com.yunfeisoft.business.dao.inter.CmsTopicCommentDao;
import com.yunfeisoft.business.model.CmsTopicComment;
import com.yunfeisoft.business.service.inter.CmsTopicCommentService;
import com.applet.sql.separation.DataSourceChange;
import com.applet.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: CmsTopicCommentServiceImpl
 * Description: 话题评论表service实现
 * Author: Jackie liu
 * Date: 2020-06-02
 */
@Service("cmsTopicCommentService")
public class CmsTopicCommentServiceImpl extends BaseServiceImpl<CmsTopicComment, String, CmsTopicCommentDao> implements CmsTopicCommentService {

    @Override
    @DataSourceChange(slave = true)
    public Page<CmsTopicComment> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}